package jvs.sh;

import jvs.peer.sec.User;

public interface IShell {

	public long getLastAccess();
	public void exit();
	public void connect(User user);
	public boolean isConnected();
	public void setLastAccess(long currentTimeMillis);
	public String id();
	
//	public abstract void connect(User user) throws Exception;
//
//	public abstract void terminate(User user) throws Exception;
//
//	public abstract void exit() throws Exception;
//
//	public abstract void init() throws Exception;
//	
//	public abstract boolean isConnected() throws Exception;
//	public abstract boolean ping(String peer) throws Exception;
//
//	//public abstract void pull(File f, OutputStream out) throws Exception;
//	
//	public abstract void info(File f, StringBuilder sb, String crlf) throws Exception;
//	public abstract Monitor receive(File f) throws Exception;
//	public abstract Monitor send(String to, File file) throws Exception;
//
//	public abstract void shell(String param) throws Exception;
//	
//	public abstract void mail(String to, File f) throws Exception;
//	public abstract void write(String to, String msg) throws Exception;
//
//	public abstract long getLastAccess();


}